/**
 * Created by meiguizhinian on 2018/6/26
 * Copyright © 2018 lixiaolong. All rights reserved.
 */

(function () {
	ivy.SourceActionType = function(name) {
		this._typeName = name;
		this._elementType = new LLArray();
	};
	let p = ivy.SourceActionType.prototype;
	////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
	p.getElementTypeVec = function() {
		return this._elementType;
	};
	p.size = function() {
		return this._elementType.size();
	};
	p.get = function(index) {
		return this._elementType.get(index) || ivy.SourceActionType.BaseElementType.eNone;
	};
})();

ivy.SourceActionType.BaseElementType = {
	eNone   : -1,
	//base为无效类型 出现在数据中说明有bug
	eBase   : 0,
	eInt    : 1,
	eList   : 2,
	eFloat  : 3,
	eVec2   : 4,
	eVec2F  : 5,
	eVec3   : 6,
	eString : 7,
};